<?php
namespace haibao\cms\model\data;
use \haibao\frame\data\Model;

class Test extends Model{
    public $Id;
	/**
	 * 名字
	 */
	public $Name;
	/**
	 * 地区
	 */
	public $Area;
	
	public function __construct(){
		parent::__construct();
		$this->stringField('Name', 'name',true);
		$this->stringField('Area', 'area',true);
		$this->stringField('Id', '_id',true);
		$this->setPrimaryKey('_id');
		$this->setTableName('test');
	}
}